package aiku.numericalcontroloa.Mapper.FinanceManagement;

import aiku.numericalcontroloa.Model.Entity.FinanceManagement.Account;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.Collection;
import java.util.List;

/**
 * 账号mapper层
 * @Author 黄广庭
 * @Date 2024/5/7 11:46
 */
@Repository
public interface AccountMapper extends BaseMapper<Account> {

    /**
     * 根据id查询，包括已删除的数据
     * @param id
     * @return
     */
    Account selectByIdWithDelete(@Param(value = "id") String id);

    /**
     * 根据id列表查询已删除
     * @param idList
     * @return
     */
    List<Account> selectListByIdWithDelete(@Param(value = "list") Collection<String> idList);
}
